﻿using System.Threading.Tasks;
using Grpc.Core;
using GRPC.Service.protos;

namespace GRPC.Service.Grpc
{
    public class OrderService:Order.OrderBase
    {
        public override Task<PushResult> Test(PushRequest request, ServerCallContext context)
        {
            return Task.FromResult(new PushResult(){Code = 200,Msg = request.CompanyId+"返回成功"});
        }
    }
}